package interfaces.rmi.server;

import interfaces.rmi.IRemote;
import interfaces.rmi.client.IClientCallBack;

import java.rmi.RemoteException;

import backend.network.server.Data;

public interface IServerApi extends IRemote
{
	public void login(IClientCallBack connection, String name) throws RemoteException;

	public Data incrementCounter(Data value) throws RemoteException;

	public void leave(IClientCallBack connection, String name) throws RemoteException;

	public void chat(String name, String s) throws RemoteException;
}